package model;


public class MDefinedObject extends MObject {
	private String name;
	private MClass mClass;

	public MDefinedObject(MClass c, String n) {
		super(c.getCore());
		name = n;
		mClass = c;
	}
	
	public String getName() {
		return name;
	}
	
	public MClass getMClass() {
		return mClass;
	}

	public String toText() {
		return name;
	}
	
	public void setId(int i) {
		id = i;
	}
}
